package com.yanqu.road.entity.player;

import com.yanqu.road.entity.DataObject;

public class UserHouse extends DataObject {

    private long userId;
    /**
     * 上次点击时间
     */
    private long lastClickTime;
    /**
     * 总点击次数
     */
    private long totalClickTimes;

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        if(this.userId != userId) {
            this.userId = userId;
            setUpdateOption();
        }
    }

    public long getLastClickTime() {
        return lastClickTime;
    }

    public void setLastClickTime(long lastClickTime) {
        if(this.lastClickTime != lastClickTime) {
            this.lastClickTime = lastClickTime;
            setUpdateOption();
        }
    }

    public long getTotalClickTimes() {
        return totalClickTimes;
    }

    public void setTotalClickTimes(long totalClickTimes) {
        if(this.totalClickTimes != totalClickTimes) {
            this.totalClickTimes = totalClickTimes;
            setUpdateOption();
        }
    }
}
